package com.cwx.mychat.entity.enums;

import lombok.Data;


public enum UserContactStatusEnum {

    FRIEND(1, "有联系"),
    NOT_FRIEND(0, "没联系"),
    DELETED(2, "userId删除好友"),
    BE_DELETED(3, "contactId删除好友"),
    BLOCKED(4, "userId拉黑好友"),
    BE_BLOCKED(5, "contactId拉黑好友");


    private Integer status;
    private String ordinal;


    UserContactStatusEnum(Integer status, String ordinal){
        this.status = status;
        this.ordinal = ordinal;
    }
    //通过code找msg


    public Integer getStatus() {
        return status;
    }

    public String getOrdinal() {
        return ordinal;
    }
}
